<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta content="B2B电商平台" name="description"/>
<meta content="B2B电商平台" name="keyword"/>

<title>B2B电商平台.店铺商品类型维护</title>
<link rel="icon" href="include/images/icss.ico" type="image/x-icon" />
<link rel="shortcut icon" href="include/images/icss.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/global.css" />
<link rel="stylesheet" type="text/css" href="<%=path %>/include/css/style.css" />
<script type="text/javascript" src="<%=path %>/include/js/jquery-1.8.0.min.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/cookies.js"></script>
<script type="text/javascript" src="<%=path %>/include/js/icss.busin.js"></script>
<script type="text/javascript">
	$(function(){
	})
	//查询前先做输入框默认值清空操作
	function clearParamInfo2(){
		if("请输入商品标题..."==jQuery("#queryTitle").val()){
			jQuery("#queryTitle").val("");
		}
		if("最低价格" == jQuery("#minPriceStr").val()){
			jQuery("#minPriceStr").val("");
		}
		if("最高价格" == jQuery("#maxPriceStr").val()){
			jQuery("#maxPriceStr").val("");
		}
	}
	
	function addSelectedClass(status){
		  if( status=="unSale"){
			  jQuery("#tag_soldout").addClass("sel_current");
			  jQuery("#tag_soldout").siblings().removeClass('sel_current');
			  countInfo = '';
			  url = "";
		  }else if(status=="overdue"){
			  jQuery("#tag_overdue").addClass("sel_current");
			  jQuery("#tag_overdue").siblings().removeClass('sel_current');
			  countInfo = '';
			  url = "";
		  }else if(status=="audit"){
			  jQuery("#tag_verifing").addClass("sel_current");
			  jQuery("#tag_verifing").siblings().removeClass('sel_current');
			  countInfo = '';
			  url = "";
		  }else if(status=="unpass"){
			  jQuery("#tag_refused").addClass("sel_current");
			  jQuery("#tag_refused").siblings().removeClass('sel_current');
			  countInfo = '';
			  url = "";
		  }
		
	}
	
	
	
	
	//处理查询条件的默认值
    //参数：id;ovalue原值;nvalue 新值; type：事件类型（1表示获取焦点 2表示失去焦点）
    function clearDefaultVal(id,type,ovalue,nvalue){
        if(type==1){//判断事件类型(获取焦点,情况现有默认值)
            jQuery("#"+id).val("");
        }else{
            //失去焦点，值为空，赋默认值
            if(nvalue==""){
                jQuery("#"+id).val(ovalue);
            }
        }
    }

</script>
</head>
  
 <body>
    <div class="colnums-2-ab-b"><!--colnums-2-ab-b begin-->
		<p style="font-size:20px;color:red;">炫铺产品分类</p>
		<dl class="tips_xp">
			<dt>提&nbsp;示</dt>
		    <dd>
		    	<span>隐藏</span>
		    	<em style="display:;" class="open" id="openOrClose">&nbsp;</em>
		    </dd>
		</dl>
		<ul class="tips_xp_text" id="tips_xp_text">
		<li>您可将供应信息按产品特性进行分类并将其展示在商铺上，让买家在访问您的炫铺时更快捷以浏览产品。</li>
		<li>如果您的产品较多建议设置二级分类方便买家查找。</li>
		<li>您可为产品分类添加图片增加分类识别。</li>
		</ul>
		<p class="progra">已创建<span id="_count">2</span>个产品分类</p>
		
		<!--平均质量星级栏开始-->
		<div class="proRigTop">
		   		<!--pxi_l S-->
		        <div class="px_top">
		            <!--px_top S-->
		            <div class="px_top_title"><strong>平均质量星级：</strong></div>
		            <ul class="star_large" id="rcstar_large"><li>1</li><li>2</li><li>3</li><li class="star_no">4</li><li class="star_no">5</li></ul>
		            <div id="rcs_detail" class="s_detail">详细<!--s_detail S-->
		                <div id="rcstar_slist" class="star_slist"><!--star_slist S-->
		                    <div class="star_item"><ul class="star_small"><li>1</li><li>2</li><li>3</li><li>4</li><li>5</li></ul><div class="num_s"><strong id="rcfiveStarCount">0</strong>条</div></div>
		                    <div class="star_item"><ul class="star_small"><li>1</li><li>2</li><li>3</li><li>4</li><li class="star_no">5</li></ul><div class="num_s"><strong id="rcfourStarCount">0</strong>条</div></div>
		                    <div class="star_item"><ul class="star_small"><li>1</li><li>2</li><li>3</li><li class="star_no">4</li><li class="star_no">5</li></ul><div class="num_s"><strong id="rcthreeStarCount"><a href="#" id="rcquerythreeStar">1</a></strong>条</div></div>
		                    <div class="star_item"><ul class="star_small"><li>1</li><li>2</li><li class="star_no">3</li><li class="star_no">4</li><li class="star_no">5</li></ul><div class="num_s"><strong id="rctwoStarCount">0</strong>条</div></div>
		                    <div class="star_item"><ul class="star_small"><li>1</li><li class="star_no">2</li><li class="star_no">3</li><li class="star_no">4</li><li class="star_no">5</li></ul><div class="num_s"><strong id="rconeStarCount">0</strong>条</div></div>
		                </div><!--star_slist E-->
		            </div><!--s_detail E-->
		            <div id="rcTestResult" class="topPrompt">您的商品质量不佳！</div>
		            <!--s_detail E-->
		        </div>
		</div>
		<!--End-->
		<div class="proBotBox">
		    <ul>
		        <li>
		        	<dl>
		            	<dt><b>在线商品总数：</b><span><i id="rctotalCount">1条</i>，</span>
		            	</dt>
		                <dd>击败同行<span><i id="rankingPercent">59%</i></span>
		                	<a data-useractivelogs="UserBehavior_my_Continue_fb" href="http://my.b2b.hc360.com/my/turbine/template/corcenter%2Cbusiness%2Cbusindetailedit.html">继续发布</a>
		                </dd>
		            </dl>
		        </li>
		        <li>
		        	<dl>
   		            	<dt><b>检测不合格商品总数：</b><span><i id="qacount">1条</i>，</span><a href="http://my.b2b.hc360.com/my/turbine/template/corcenter%2Cbusinphysicalcenter%2CphysicalCenterMain.html">立即完善</a></dt>
                        <dd>4星以下的供应商品<em id="rcunderFourStar">1</em>条，占比<em id="rcunderFourStarPercent">100%</em></dd>
		            </dl>
		        </li>
		    </ul>
		</div>
	  <!-- 列表查询条件区域 -->
      <div class="search_lis">
		 <div class="search_lis_se"><!--search_lis_se S-->
            <input name="querytitle" id="queryTitle" type="text" class="in_bit" maxlength="40" value="请输入商品标题..." defaultval="请输入商品标题..." onblur="clearDefaultVal('queryTitle',2,'请输入商品标题...',this.value)" onfocus="clearDefaultVal('queryTitle',1,'','')">
            <div class="se_dow" style="z-index:999;" id="is_support_trade_div">
                <font id="is_support_trade_value">交易类型</font>
                <div id="is_support_trade_select" class="se_dow_list" style="display:none;">
                    <a href="javascript:void(0);" onclick="gets_value(this)">交易类型</a>
                    <a href="javascript:void(0);" onclick="gets_value(this)">支持在线交易</a>
                    <a href="javascript:void(0);" onclick="gets_value(this)">不支持在线交易</a>
                </div>
            </div>
            <span>价格:</span>

            <input name="minPriceStr" id="minPriceStr" type="text" class="in_price" value="最低价格" maxlength="10" style="color:#999" defaultval="最低价格" onblur="clearDefaultVal('minPriceStr',2,'最低价格',this.value)" onfocus="clearDefaultVal('minPriceStr',1,'','')">
            <i>-</i>
            <input name="maxPriceStr" id="maxPriceStr" type="text" class="in_price" value="最高价格" maxlength="10" style="color:#999" defaultval="最高价格" onblur="clearDefaultVal('maxPriceStr',2,'最高价格',this.value)" onfocus="clearDefaultVal('maxPriceStr',1,'','')">
            <select class="setopt" id="sellerConfirmSelect" name="sellerConfirm">
                <option value="">付款设置</option>
                <option value="no">买家下单后即可付款</option>
                <option value="yes">卖家确认后才可付款</option>
            </select>
            
            <button type="button" class="cxx_btn" onclick="queryBusinOnSale()" onmousedown="return hcclick('?hcmy_supplylistlog=Inquiry')">查询</button>
            &nbsp;&nbsp;<a href="javascript:void(0);" target="_self" id="more_term_link" name="more_term_link" condition="0">更多搜索条件</a>
            <div class="clear"></div>
            <div id="nomore">&nbsp;
            </div>
            <div id="more_term" style="display:none">
				<div class="actbus">
	                <!--checkbox S-->
	                <label><input type="checkbox" name="active" value="1">活动商品</label>
	            </div>
	            <div class="actbus">
	            <label>炫铺分类:</label>
	            </div>
	            <select id="firstSeries" name="firstSeries" autocomplete="off" onchange="changeSecondSeries(this.value)">
	                <option value="-1">选择一级分类</option>
	                <option value="1">未分类</option>
  	                <option value="31022836">分类一</option>
 	            </select>
	
	            <select name="secondSeries" id="secondSeries" autocomplete="off">
	                <option value="-1"> 选择二级分类</option>
	            </select>
            </div>
        </div>
        <div class="LeftNum" id="caigouInfo">
        </div>
    </div>
		
	<div class="tag_x">
		<input type="hidden" id="type" value="">
		<a id="tag_soldout" href="#" onmousedown="addSelectedClass('unSale')" class="sel_current">已下架</a>
		<a id="tag_overdue" href="#" onmousedown="addSelectedClass('overdue')">已过期</a>
		<a id="tag_verifing" href="#" onmousedown="addSelectedClass('audit')">审核中</a>
		<a id="tag_refused" href="#" onmousedown="addSelectedClass('unpass')">审核未通过</a>
	</div>
	
		 <div class="listed_tb_k">
	        <!-- 销售中商品  重发、永久删除、转为过期等功能在列表顶部显示  2014-10-23 0发版 moxiaoyang-->
	        <div class="list_table_bot">
	            <div id="rczshowes" class="zshowes" style="display: none;">
	                <div class="z_arrow"></div>
	                <div id="rczshowesclose" class="z_close">×</div>
	            您没有选择任何筛选条件您没有选择任何筛选条件
	        </div>
	        <div class="f_left">
	             <label><input id="topCheckAll" name="dgfdgf" type="checkbox" onclick="selectalledTop(query)" class="chk">全选</label>
	             <button class="gray_btn" type="button" onclick="javascript:FormSubmit('Resend')" onmousedown="return hcclick('?hcmy_supplylistlog=Bottom_Retransmission')">重发</button>
	             <button class="gray_btn" type="button" onclick="javascript:FormSubmit('Outdate')" onmousedown="return hcclick('?hcmy_supplylistlog=Bottom_Expired')">下架</button>
	             <button class="gray_btn" type="button" onclick="javascript:FormSubmit('Delete')" onmousedown="return hcclick('?hcmy_supplylistlog=Bottom_Delete')">删除</button>
	             <span class="fRight">
			        <div class="search_lis_page">1/1
					上一页
					下一页
					</div>
	             </span>
	       </div>
	    </div>
        <table cellspacing="0" cellpadding="0">
            <thead>
            <tr>
                <th class="t1">选项</th>
                <th class="t2">图片</th>
                <th class="t3">标题</th>
                <th class="t4">
                	价格
                </th>
                <th class="t5">
               		发布日期
                </th>
                 <th class="t6">
              		质量星级&nbsp;&nbsp;
                </th>
                <th class="t7">操作</th>
            </tr>
            </thead>
            <tbody>
            </tbody>
	    </table>
		<div class="clear"></div>
	</div>
	<div class="bottom_page">
        	<form action="http://my.b2b.hc360.com/my/turbine/template/corcenter%2Cbusiness%2Cmmt_busin_series.html" id="listForm" name="query">
	        <div class="bottom_page">
				共 <span class="f-bold">1</span> 条信息，
	      		共 <span class="f-bold">1</span> 页，
	     		 <img height="15" alt="上一页" src="http://style.org.hc360.com/images/my/images/corcenter/pre_page_gray.gif" width="46" align="absbottom" border="0">
	      	  	<b>1</b>
				<img height="15" alt="下一页" src="http://style.org.hc360.com/images/my/images/corcenter/next_page_gray.gif" width="46" align="absbottom" border="0">&nbsp;
   			 	到第<input maxlength="8" name="page" type="text" size="2" value="1" onkeyup="this.value = this.value.replace(/[^\d|.]/g,'');" onkeydown="if(event.keyCode=='13'){ document.getElementById('go').focus(); }"> 页 <input class="i_button" type="button" value="确定" id="go" name="go" onclick="TurnPage ('goto','query')">
			</div>
			<input type="hidden" id="_page" value="1">
			</form>
        </div>
</body>
</html>
